﻿package mortal.game.view.chat.data
{
    import mortal.game.resource.*;
    import mortal.game.resource.info.*;

    public class ChatShowPoint extends Object
    {
        public var mapId:int = 0;
        public var x:int = 0;
        public var y:int = 0;

        public function ChatShowPoint(param1:int, param2:int, param3:int)
        {
            this.mapId = param1;
            this.x = param2;
            this.y = param3;
            return;
        }// end function

        public function mapNameString() : String
        {
            var _loc_1:* = GameMapConfig.instance.getMapInfo(this.mapId);
            if (_loc_1)
            {
                return _loc_1.name + "[" + this.x + "," + this.y + "]";
            }
            return "";
        }// end function

        public function mapIdString() : String
        {
            return "[" + this.mapId + "," + this.x + "," + this.y + "]";
        }// end function

    }
}
